#ifndef HUD_H
#define HUD_H

#include <SFML/Graphics.hpp>

#include "..\ImageCache.h"

class HUD: public sf::Drawable
{
    public:		
		static HUD& getInstance ();

		void generateSprite (Image::HUDTexture hudTexture);

		bool processLeftClickEvent (const sf::Vector2i& pos) const;
		bool processRightClickEvent (const sf::Vector2i& pos) const;

    protected:
    private:
		sf::Texture* texture;
		sf::Sprite  sprite;

		HUD ();

		virtual void draw (sf::RenderTarget& target, sf::RenderStates states) const;
		
};

#endif // HUD_H
